<div class="ibox ">
  <div class="ibox-title">
      <h5>
          <vc:i18n name="短信设置" namespace="shopConfigSms"></vc:i18n>
      </h5>
      <div class="ibox-tools" style="top:10px;">
          <button type="button" class="btn btn-primary btn-sm" v-on:click="_openEditShopSmsSwitchModel()">
              <vc:i18n name="修改" namespace="shopConfigSms"></vc:i18n>
          </button>
          <button type="button" class="btn btn-white btn-sm" v-on:click="_toSmsDetail()">
            <vc:i18n name="发送明细" namespace="shopConfigSms"></vc:i18n>
        </button>
      </div>
  </div>
  <div class="ibox-content">
      <div class="row">
          <div class="col-sm-4">
              <div class="form-group">
                  <label class="col-form-label">
                      <vc:i18n name='剩余短信：' namespace='shopConfigSms'></vc:i18n>
                  </label>
                  <label class="">{{shopConfigSmsInfo.smsCount}}条 (<a href="javascript:void(0)" @click="_openBuySmsModel()">购买</a>)</label>
              </div>
          </div>
          <div class="col-sm-4">
              <div class="form-group">
                  <label class="col-form-label">
                      <vc:i18n name='短信开关：' namespace='shopConfigSms'></vc:i18n>
                  </label>
                  <label class="">{{shopConfigSmsInfo.smsSwitch == 'ON'?'开':'关'}}</label>
              </div>
          </div>
          <div class="col-sm-4">
            <div class="form-group">
                <label class="col-form-label">
                    <vc:i18n name='短信单价：' namespace='shopConfigSms'></vc:i18n>
                </label>
                <label class="">{{shopConfigSmsInfo.smsPrice}}元</label>
            </div>
        </div>
      </div>

  </div>

  <vc:create path="shop/editShopSmsSwitch"></vc:create>
  <vc:create path="shop/buyShopSms"></vc:create>
  

</div>